package com.dao.user;

import com.pojo.Member;
import com.pojo.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    Member selectMemberById(int member_id);

    List<Member> finduser(String username);

    public int updateUser(@Param("member_id") int member_id,
                          @Param("member_name") String member_name,
                          @Param("member_nickname") String member_nickname,
                          @Param("member_gender") String member_gender,
                          @Param("member_phone") String member_phone,
                          @Param("member_email") String member_email);


    public int delUser(int member_id);

    public List<Member> getUser();

}
